﻿<%@ Page Language="C#" MasterPageFile="~/PlatForm/MasterPage3.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="PlatForm_Register" %>

<%@ MasterType VirtualPath="~/PlatForm/MasterPage3.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">

<style type="text/css">
<!--
body,div,ul,li{
margin:0 auto;
padding:0;
}
body{
font:13px "宋体";
text-align:center;
}
a:link{
color:#00F;
text-decoration:none;
}
a:visited {
color: #00F;
text-decoration:none;
}
a:hover {
color: #c00;
text-decoration:underline;
}
ul{
list-style:none;
}
.main{
clear:both;
padding:8px;
text-align:center;
}
/*第一种形式*/
#tabs0 {
height: 440px;
width: 800px;
border: 1px solid #cbcbcb;
background-color: #f2f6fb;
margin-top: 10px;
}
.menu0{
width: 100%;
}
.menu0 li{
display:block;
float: left;
padding: 4px 0;
width:50%;
text-align: center;
cursor:pointer;
background: #FFFFff;
height: 30px;
line-height: 30px;
overflow: auto;
}
.menu0 li.hover{
background: #f2f6fb;
}
#main0 div{
display: none;
}
#main0 div.block{
display: block;
}
-->
</style>

<script type="text/javascript">
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n)
{
	var tli=document.getElementById("menu"+m).getElementsByTagName("li");
	var mli=document.getElementById("main"+m).getElementsByTagName("div");
	for(i=0;i<tli.length;i++)
	{
		tli[i].className=i==n?"hover":"";
		mli[i].style.display=i==n?"block":"none";
	}
}
//-->
</script>

	<div id="tabs0">
		<ul class="menu0" id="menu0">
			<li onclick="setTab(0,0)" class="hover">普通用户</li>
			<li onclick="setTab(0,1)">大师用户</li>
		</ul>
		<div class="main" id="main0">
			<div class="block">
				<table class="FormTable">
					<caption>普通用户注册</caption>
					<tbody>
						<tr>
							<td class="FirstCol">帐号</td>
							<td class="SecondCol"><asp:TextBox runat="server" ID="TbUserUsername"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">密码</td>
							<td class="SecondCol"><asp:TextBox runat="server" TextMode="Password" ID="TbUserPassword"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">姓名</td>
							<td class="SecondCol"><asp:TextBox runat="server" ID="TbUserName"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">单位</td>
							<td class="SecondCol"><asp:DropDownList runat="server" ID="DdlUserDepartment"></asp:DropDownList></td>
						</tr>
						<tr>
							<td class="FirstCol">电子邮箱</td>
							<td class="SecondCol"><asp:TextBox runat="server" ID="TbUserEMail"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">联系电话</td>
							<td class="SecondCol"><asp:TextBox runat="server" ID="TbUserPhone"></asp:TextBox></td>
						</tr>
						<tr>
							<td align="center" colspan="2"><asp:LinkButton runat="server" Text="注册" ID="LBtnUserRegister" CssClass="LinkBtn"></asp:LinkButton></td>
						</tr>
					</tbody>
				</table>
			</div>
			<div>
				<table class="FormTable" style="margin-top: 5px;">
					<caption>大师用户注册</caption>
					<tbody>
						<tr>
							<td class="FirstCol">帐号</td>
							<td class="SecondCol"><asp:TextBox runat="server" ID="TbExpertUsername"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">密码</td>
							<td class="SecondCol"><asp:TextBox runat="server" TextMode="Password" ID="TbExpertPassword"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">姓名</td>
							<td class="SecondCol"><asp:TextBox runat="server" ID="TbExpertName"></asp:TextBox></td>
						</tr>
						<tr>
							<td class="FirstCol">单位</td>
							<td class="SecondCol"><asp:DropDownList runat="server" ID="DdlExpertDepartment"></asp:DropDownList></td>
						</tr>
						<tr>
							<td class="FirstCol">工种</td>
							<td class="SecondCol">
								<asp:TextBox runat="server" ID="TBJob"></asp:TextBox>
							</td>
						</tr>
						<tr>
							<td class="FirstCol">类型</td>
							<td class="SecondCol"><asp:DropDownList runat="server" ID="DdlExpertType"></asp:DropDownList></td>
						</tr>
						<tr>
							<td class="FirstCol">头像</td>
							<td class="SecondCol"><asp:FileUpload runat="server" ID="FUploadExpertImage" /></td>
						</tr>
						<tr>
							<td class="FirstCol">简介</td>
							<td class="SecondCol"><asp:FileUpload runat="server" ID="FUploadIntroduction" /></td>
						</tr>
						<tr>
							<td align="center" colspan="2"><asp:LinkButton runat="server" Text="注册" ID="LBtnExpertRegister" CssClass="LinkBtn"></asp:LinkButton></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</asp:Content>

